﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Frogism.Core.Golf
{
    public class Course
    {
        protected  int _id;
        public virtual int Id
        {
            get { return _id; }
        }
        public virtual string Name { get; set; }
        public virtual UsState State { get; set; }
        private ICollection<Tee> _tees = new System.Collections.ObjectModel.Collection<Tee>();
        public virtual ICollection<Tee> Tees { get { return _tees; } }

        public Tee AddTee(Tee tee)
        {
            _tees.Add(tee);
            return tee;

        }
    }
}
